package com.nycreativity.elecreativity.service;

import com.nycreativity.elecreativity.entity.po.Activity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nycreativity.elecreativity.entity.param.activity.ActivityAddParam
import com.nycreativity.elecreativity.entity.param.activity.ActivityQueryParam
import com.nycreativity.elecreativity.entity.vo.PageDataVO
import com.nycreativity.elecreativity.entity.vo.activity.ActivityVO

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sxt && ttxxi
 * @since 2021-03-10
 */
interface ActivityService : IService<Activity> {

    /**
     * 添加活动
     */
    fun addActivity(activityAddParam: ActivityAddParam): Boolean

    /**
     * 根据条件查询活动
     */
    fun queryActivity(activityQueryParam: ActivityQueryParam): PageDataVO<ActivityVO>
}
